Make preventing C-h cycling the default
authorjustbur <justin@burkett.cc>
Wed, 2 Sep 2015 16:57:46 +0000 (12:57 -0400)
committerjustbur <justin@burkett.cc>
Wed, 2 Sep 2015 16:57:46 +0000 (12:57 -0400)
README.org
which-key.el

index 893d36dee3b7acda0b3869d9847fd9292f6feae4..d8eb11c459a968b03357e1953620ccc6aadd2d70 100644 (file)
@@ -2,14 +2,14 @@
 [[http://melpa.org/#/which-key][http://melpa.org/packages/which-key-badge.svg]]
 ** What's new
 *** Paging
-- The new option =which-key-prevent-C-h-from-cycling=, which is =nil= by default
+- The new option =which-key-prevent-C-h-from-cycling=, which is =t= by default
   allows one to take advantage of using =C-h= for paging as well as the default
   Emacs behavior of using =C-h= to describe the bindings for the current key
   sequence prefix.
-- The configuration below will allow you to switch paging using =C-h= until you
-  reach the last page of keys in the which-key buffer. The next press of =C-h=
-  will close the which-key buffer and trigger the default Emacs behavior on
-  =C-h=.
+- The (default) configuration below will allow you to switch paging using =C-h=
+  until you reach the last page of keys in the which-key buffer. The next press
+  of =C-h= will close the which-key buffer and trigger the default Emacs
+  behavior on =C-h=.
   #+BEGIN_SRC Emacs-lisp
   (setq which-key-use-C-h-for-paging t
         which-key-prevent-C-h-from-cycling t)
index e57a63f1f3d0c8b0800c4ad594a4804f52f1db04..86fe9fb21564cf6e22233ecd824a2c5d0a665df1 100644 (file)
@@ -235,13 +235,12 @@ prefixes in `which-key-paging-prefixes'"
   :group 'which-key
   :type 'boolean)
 
-(defcustom which-key-prevent-C-h-from-cycling nil
-  "Experimental: When using C-h for paging, which-key overrides
-  the default behavior of calling `describe-prefix-bindings'.
-  Setting this variable to t makes it so that when on the last
-  page, pressing C-h calls the default function instead of
-  cycling pages. If you want which-key to cycle, set this to
-  nil."
+(defcustom which-key-prevent-C-h-from-cycling t
+  "When using C-h for paging, which-key overrides the default
+  behavior of calling `describe-prefix-bindings'. Setting this
+  variable to t makes it so that when on the last page, pressing
+  C-h calls the default function instead of cycling pages. If you
+  want which-key to cycle, set this to nil."
   :group 'which-key
   :type 'boolean)